package com.zx.config.exception;

/**
 * @author sunkai
 * @date 2022/8/25 0025 22:53
 * @mood zhou xun
 */
public enum UserError implements MallError{

    USER_PASSWORD_ERROR("2001","密码异常"),
    USER_ADDRESS_ERROR("2002","地址异常"),
    ;
    String errorCode;
    String errorMessage;

    UserError(String errorCode, String errorMessage) {
        this.errorCode = errorCode;
        this.errorMessage = errorMessage;
    }

    @Override
    public String getErrorCode() {
        return null;
    }

    @Override
    public String getErrorMessage() {
        return null;
    }
}
